# -- coding: utf-8 --
from .command import Command
import os
import sys

class RmCommand(Command):
    def __init__(self,args):
        Command.__init__(self,args)

    def usage(self):
        print("rm file     - remove file")

    def execute(self):
        if len(self.args) != 2:
            self.usage()
            return

        path = self.args[1]
        os.remove(path)


